package com.zch.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zch.dao.model.Principal;
import com.zch.dao.model.PrincipalExample;

public interface PrincipalMapper {
	int countByExample(PrincipalExample example);

	int deleteByExample(PrincipalExample example);

	int deleteByPrimaryKey(String id);

	int insert(Principal record);

	int insertSelective(Principal record);

	List<Principal> selectByExample(PrincipalExample example);

	Principal selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") Principal record,@Param("example") PrincipalExample example);

	int updateByExample(@Param("record") Principal record,@Param("example") PrincipalExample example);

	int updateByPrimaryKeySelective(Principal record);

	int updateByPrimaryKey(Principal record);

}
